﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using CoreEx.MicroMapper.Implementation;
using CoreEx.Database.Metadata;
using LinFu.IoC.Configuration;
using CoreEx.MicroMapper;
using LinFu.IoC.Interfaces;

namespace CoreEx.Database.MetaData.Implementation
{   
    [Implements(typeof(IMicroMapper<PropertyInfo, IPropertyMappingInfo>))]
    public class PropertyInfoMapper_old : MicroMapper<PropertyInfo,IPropertyMappingInfo>
    {        
        public override void Initialize(IServiceContainer source)
        {            
            base.Initialize(source);
            SourceAccessorSelector = null;
            TargetAccessorSelector = null;
            TargetFactory = (t) => new PropertyMappingInfo();            
        }
    }
}
